import type { UploadData } from "@/types/common"
import { request } from "@/utils/reuqest"
/**
 * 上传接口
 * @param fd 二进制文件数据(FormData)
 * @returns 
 */
export const uploadFileAPI = (fd:FormData)=>{
  return request<UploadData>('/upload','POST',fd)
}